import i18n from '@/locales'
import { Local } from '@/store/local/types';
export const useLang = (lang:Local['lang']) => {
    useLocal().lang = lang
    i18n.global.locale = lang;
}